var Spreadsheet = require('edit-google-spreadsheet');
emailArg=process.argv[0]
keyFilePathArg=process.argv[0]

Spreadsheet.load({
    debug: true,
    spreadsheetId: '1iwkETjlzVUFctfYPlhkxOH-XjvxSWI9u6sk5CmytKhQ',
    worksheetName: 'Sheet1',

    oauth : {
        email: '301378763566-6qikum8n0fdu7j2sd83lvgilfb7sl1d6@developer.gserviceaccount.com',
        keyFile: '/data/git/my-scripts-personal/univ-parser/google-dev-5ac10676c582ee95b3978cb1be6b346f3af40a40.pem'
    }

}, function sheetReady(err, spreadsheet) {

    if (err) {
        throw err;
    }

    spreadsheet.receive(function(err, rows, info) {
        if (err) {
            throw err;
        }

        console.dir(rows);
        console.dir(info);
    });

});
